package org.chouy.system.service.impl;

import org.chouy.system.domain.SysUser;
import org.chouy.system.mapper.SysUserMapper;
import org.chouy.system.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: Yang
 * @description: 用户实现类
 * @author: Zhouy
 * @create: 2019-01-30 14:41
 **/
@Service
public class SysUserServiceImpl implements ISysUserService {

    @Autowired
    private SysUserMapper userMapper;



    @Override
    public SysUser selectUserByLoginName(String userName) {
        return userMapper.selectUserByLoginName(userName);
    }
}
